NextRIPS support for forthcoming AMD processors
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 16 Oct 2008 17:45:48 +0000 (18:45 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 16 Oct 2008 17:45:48 +0000 (18:45 +0100)
commit69dab6dc829ccb4ece76dd80f59db39f396c083e
tree34f41943f2d95205f7314d378e16b9141e9753e9
parent27b186a0dbe932c15195a24a520b92a2d2282d92
NextRIPS support for forthcoming AMD processors

Future versions of AMD processors will support a feature called
NextRIPS or Next RIP Save.  This feature causes the processor
to store the next sequential RIP of a guest in the VMCB on
most instruction interrupts.  The hypervisor can use this
information to determine how much memory to read to determine
the intercepted instruction, modestly improving performance.
The following patch implements support for this feature.

Signed-off-by: Mark Langsdorf <mark.langsdorf@amd.com>
xen/arch/x86/hvm/svm/emulate.c
xen/include/asm-x86/hvm/svm/vmcb.h